package com.ygqh.baby.model.wdt.qyb;

import java.math.BigDecimal;

import com.alibaba.fastjson.annotation.JSONField;

public class WdtQybOrderLstReq {
	/**
	 * 平台订单货品表主键,子订单唯一标识
	 */
	@JSONField(name = "oid")
	private String oid;

	/**
	 * 数量
	 */
	@JSONField(name = "num")
	private BigDecimal num;

	/**
	 * 标价,折扣前的价格
	 */
	@JSONField(name = "price")
	private BigDecimal price;

	/**
	 * 平台子订单状态，10未确认 20待尾款 30待发货 40部分发货 50已发货  70已完成 80已退款
	 * 90已关闭(子订单状态可以和主订单不一样，比如其中一个子订单退款完成，其状态是80，但主订单仍然是待发货)
	 */
	@JSONField(name = "status")
	private int status;
	/**
	 * 退款状态0无退款1取消退款,2已申请退款,3等待退货,4等待收货,5退款成功
	 */
	@JSONField(name = "refund_status")
	private int refundStatus;

	/**
	 * 平台上货品的ID(货品表主键)goods_id不能为空
	 * 
	 * @Description M站 productCode后两位 + size（去掉 特殊符号 *，？）
	 */
	@JSONField(name = "goods_id")
	private String goodsId;
	/**
	 * 平台上规格的ID(规格表主键)spec_id
	 */
	@JSONField(name = "spec_id")
	private String specId;

	/**
	 * 货品编码(商家编码)
	 * 
	 * 
	 */
	@JSONField(name = "goods_no")
	private String goodsNo;

	/**
	 * 规格编码(商家编码)必须不能为空
	 */
	@JSONField(name = "spec_no")
	private String specNo;

	/**
	 * 平台货品名称
	 */
	@JSONField(name = "goods_name")
	private String goodsName;

	/**
	 * 平台规格名称
	 */
	@JSONField(name = "spec_name")
	private String specName;

	/**
	 * 客服调整总金额(大于0加价，小于0减价，是折扣来源的一部分)
	 */
	@JSONField(name = "adjust_amount")
	private BigDecimal adjustAmount;

	/**
	 * 下单总折扣，客户下单时折扣(比如促销打折，不包含客服调整、分摊折扣)
	 */
	@JSONField(name = "discount")
	private BigDecimal discount;

	/**
	 * 分摊总折扣，由总订单分摊而来，一般是付款时产生，如使用优惠券
	 */
	@JSONField(name = "share_discount")
	private BigDecimal shareDiscount;

	/**
	 * 平台类目
	 */
	@JSONField(name = "cid")
	private String cid;

	public WdtQybOrderLstReq() {
		super();
	}

	public WdtQybOrderLstReq(String oid, BigDecimal num, BigDecimal price, int status, int refundStatus, String goodsNo, String goodsName, String specNo,
			String specName, String cid) {
		super();
		this.oid = oid;
		this.num = num;
		this.price = price;
		this.status = status;
		this.refundStatus = refundStatus;
		this.goodsId = goodsNo;
		this.goodsNo = goodsNo;
		this.goodsName = goodsName;
		this.specId = specNo;
		this.specNo = specNo;
		this.specName = specName;
		this.cid = cid;
		this.adjustAmount = new BigDecimal("0.0000");
		this.discount = new BigDecimal("0.0000");
	}

	public String getOid() {
		return oid;
	}

	public void setOid(String oid) {
		this.oid = oid;
	}

	public BigDecimal getNum() {
		return num;
	}

	public void setNum(BigDecimal num) {
		this.num = num;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public int getRefundStatus() {
		return refundStatus;
	}

	public void setRefundStatus(int refundStatus) {
		this.refundStatus = refundStatus;
	}

	public String getGoodsId() {
		return goodsId;
	}

	public void setGoodsId(String goodsId) {
		this.goodsId = goodsId;
	}

	public String getSpecId() {
		return specId;
	}

	public void setSpecId(String specId) {
		this.specId = specId;
	}

	public String getGoodsNo() {
		return goodsNo;
	}

	public void setGoodsNo(String goodsNo) {
		this.goodsNo = goodsNo;
	}

	public String getSpecNo() {
		return specNo;
	}

	public void setSpecNo(String specNo) {
		this.specNo = specNo;
	}

	public String getGoodsName() {
		return goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	public String getSpecName() {
		return specName;
	}

	public void setSpecName(String specName) {
		this.specName = specName;
	}

	public BigDecimal getAdjustAmount() {
		return adjustAmount;
	}

	public void setAdjustAmount(BigDecimal adjustAmount) {
		this.adjustAmount = adjustAmount;
	}

	public BigDecimal getDiscount() {
		return discount;
	}

	public void setDiscount(BigDecimal discount) {
		this.discount = discount;
	}

	public BigDecimal getShareDiscount() {
		return shareDiscount;
	}

	public void setShareDiscount(BigDecimal shareDiscount) {
		this.shareDiscount = shareDiscount;
	}

	public String getCid() {
		return cid;
	}

	public void setCid(String cid) {
		this.cid = cid;
	}

}
